package com.learning.code.multithread.keyword.singleton;

public class Main {

    public static void main(String[] args) {

        new Thread( ()->{
            for (int i = 0; i < 5; i++) {
                System.out.println(MyObject.getConnection());
            }
            return;
        }).start();
    }
}
